package com.soecode.lyf.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HomController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    private String list(Model model) {
        return "home";  // WEB-INF/jsp/"list".jsp
    }

}
